home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / utils1 / anydrive.arj / ANYDRIVE.DOC next >
Text File  |  1993-02-27  |  6KB  |  130 lines

  1. ANYDRIVE a tool to fix the Drive-Parameters settings
  2. ----------------------------------------------------
  3. Version 1.0   27.February 1993
  4.  
  5. Introduction:
  6. -------------
  7. Have you ever tried to install a new Harddisk in your PC and found that the
  8. BIOS did not support it? I was faced with that situation lately. I got advice
  9. to buy a new BIOS or to buy a special controller. All of that costs $ and is
  10. a lot of hassle. The BIOS might not be compatible with your Motherboard etc.
  11.  
  12. This piece of Software fixes the problem WITHOUT any additional Hardware 
  13. and allows you to run your old stable BIOS.
  14.  
  15. How it works:
  16. -------------
  17. When the PC is booted, BIOS sets up Interrupt Vectors (0x41 and 0x46) which
  18. point to the parameters for the Harddisks 0 and 1. DOS picks up the Drive
  19. Information from the adresses given in these Vectors. A normal BIOS sets the
  20. Vectors up to point to a Drive-Table in ROM, but the newer BIOSses that allow
  21. customizable Cyl/Head/Sector settings store the Drive-Parameters in the BIOS
  22. Memory Area at Segment 0x40 and therefore they point to RAM. ANYDRIVE simpy 
  23. does the same with the old BIOSes. 
  24. Since ANYDRIVE is not resident in ROM some other place was needed for the 
  25. Code to built the Drive-Parameters in the BIOS Area. This must be done
  26. before DOS is started because DOS builds up its own parameter blocks from 
  27. the BIOS Drive-Parameters.
  28.  
  29. The only place I could find was the Master Boot Block of the Harddrive. It
  30. contains the Partition-Table for the first Drive but is otherwise empty.
  31. ANYDRIVE inserts Code into the Master Boot Block to set up the
  32. Drive-Parameters in the BIOS Memory area and points the Interrupt-Vectors
  33. (0x41 and 0x46) to the new Parameters. DOS will look it up there and build 
  34. its Disk Control-Blocks based on them and not on the settings in ROM.
  35.  
  36. This means that ONLY after running the Master Control Block will
  37. the Drive-Parameters be correct. This is no problem when booting from the
  38. Harddisk since the Master Boot Block must be executed anyway. But if you
  39. insert a Floppy Disk and then boot the Machine the old BIOS-Parameters will
  40. be in effect! BE CAREFUL!
  41.  
  42. You can avoid this by deactivating the DOS-Partition in Drive 0. Then the
  43. Master Boot Block will be executed but no active Partition will be found.
  44. ANYDRIVE will ask you to insert a Floppy and then allow you to boot
  45. with the correct Drive-Parameters. This feature is especially important for
  46. the first Boot as we will see later.
  47.  
  48. Pressing LEFT-SHIFT while booting results in the same becuase it might be
  49. too inconvienient to deactivate the DOS-Partition. I remember that FDISK
  50. doesnt support that yet (Classical Microsoft behaviour).
  51.  
  52. Hold LEFT-SHIFT while booting and ANYDRIVE will ask you to insert a Floppy
  53. for booting. Remember that there must be NO DISK in the Drive when you boot.
  54. Insert it when asked to.
  55.  
  56. If you boot from Floppy and you did not have to press a Key to Boot
  57. YOU WILL HAVE THE INCORRECT BIOS-SETTINGS.
  58.  
  59. Procedure for installing a primary Harddrive:
  60. ---------------------------------------------
  61. 1. Low Level Format if necessary (Use WDFMT, it allows you to specify all
  62.    desired formats.) and perform Surface Scan if desired.
  63.  
  64. 2. Configure some smaller Harddrive-Size in the BIOS Setup.
  65.  
  66. 3. Run ANYDRIVE 0 <Cyl> <Heads> <Sects> ......
  67.    This will create the Master Boot Block and partition the Drive to contain
  68.    ONE partition for all of it. The Partition is not activated!
  69.                          
  70. 4. Reboot without a Disk in the Drive. The Master Boot Block will be executed
  71.    and since no Partition is active, ANYDISK will ask you for a Floppy
  72.    Disk to boot. Insert the DOS Disk and press a Key to boot again.
  73.  
  74. 5. Perform High-Level Format. Change the Partitions if you want.
  75.  
  76. 6. Run FDISK and activate the Primary Partition
  77.  
  78. 7. Reboot from Harddisk. ANYDRIVE will only ask you for a Disk if you
  79.    press LEFT-SHIFT while booting.
  80.  
  81. Procedure for installing for a Secondary Harddrive
  82. --------------------------------------------------
  83. 1. Run ANYDRIVE 1 <Cyl> <Heads> <sects> ......
  84.  
  85. 2. Reboot from Harddrive and run BIOS Setup. Change DriveType for Second
  86.    Drive to something, so BIOS will know that there are two Drives.
  87.  
  88. 3. Perform Lowlevel / Highlevel formatting as usual.
  89.    You might choose to run LowLevel Formats before running ANYDRIVE if DOS
  90.    or BIOS gives you trouble booting without format.
  91.  
  92.  
  93. Money Matters
  94. -------------
  95. Please send me $5 if you find this ANYDRIVE useful. This is only possible 
  96. for PRIVATE use. If you want to use it commercially or in a company please
  97. contact me first.
  98.  
  99. (C) 1993 Christoph Lameter, All Right reserved except as explicitly granted
  100. here. You may use the Software for 30 days to test it. Then either delete it
  101. or send $5. The $5 is the fee for using this Program on one PC as long as
  102. you wish. ANYDRIVE does not become your own. 
  103.  
  104.        Commercial inquiries welcome.
  105.  
  106. As usual there is no guarantee that this Software will work. It might not run
  107. because of incompatibility with Software or Hardware. By using this Software
  108. you accept the consquences that it will not work as intended.
  109.  
  110. Send Check to 
  111.  
  112.   Christoph Lameter, 244 N. Oakland Ave#6, Pasadena, CA
  113.  
  114. You can reach me on 
  115.  
  116.  Fido:     1:102/961 
  117.  InterNet: Christoph.Lameter@f961.n102.z1.fidonet.org
  118.  
  119. If you have any question or if you need support remember that I was not paid 
  120. for this program in any way. I am a student right now and cannot afford to 
  121. spend long times helping people out without payment.
  122.  
  123. I am deeply opposed to anyone taking profit from this software without my
  124. participation. Therefore distribution as ShareWare on Disk or CD is only  
  125. allowed if the price of a CD is less than $10 and of a Disk less than $1.
  126. Should you find that anyone has sold you this software on any medium 
  127. exceeding these prices contact me immediately. 
  128. Join the protest against ShareWare ripoffs.
  129.  
  130.